package com.jwd.avmanager.entity;

import io.netty.channel.ChannelHandlerContext;

public class WebSocketInfo {
    private String account;
    private String pass;
    private String FileDevId;
    private int FileSize;
    private ChannelHandlerContext ctx;

    public void setAccount(String account) {
        this.account = account;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public void setCtx(ChannelHandlerContext ctx) {
        this.ctx = ctx;
    }

    public String getAccount() {
        return account;
    }

    public String getPass() {
        return pass;
    }

    public ChannelHandlerContext getCtx() {
        return ctx;
    }

    public String getFileDevId() {
        return FileDevId;
    }

    public void setFileDevId(String fileDevId) {
        FileDevId = fileDevId;
    }

    public int getFileSize() {
        return FileSize;
    }

    public void setFileSize(int fileSize) {
        FileSize = fileSize;
    }


    @Override
    public String toString() {
        return "WebSocketInfo{" +
                "account='" + account + '\'' +
                ", pass='" + pass + '\'' +
                ", FileDevId='" + FileDevId + '\'' +
                ", FileSize=" + FileSize +
                ", ctx=" + ctx +
                '}';
    }
}
